<%@ page language="java" import="java.util.*,com.lmpop.trade.ti_attach.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   	<%
   		String attach_root_id = "";
   		if(request.getParameter("attach_root_id")!=null){
   			attach_root_id = request.getParameter("attach_root_id");
   		} 
   		
   		Ti_attachInfo attachInfo = new Ti_attachInfo();
   		List aList = attachInfo.getListByAttachrootid(attach_root_id);
   		boolean isEixst = false;
			if(aList!=null && aList.size()>0) isEixst = true;	
   		
   	%>
   	<input type="hidden" name="attach_root_id" value="<%=attach_root_id%>" /> 
   	<input type="hidden" name="attach_sign" value="insert" />
   	<input type="button" class="buttoncss" name="uploadImgWin" value="图片管理" onclick="window.open('/program/plugins/upload/uploadImg/upCatImg.jsp?attach_root_id=<%=attach_root_id%>');"/>
   	<%if(isEixst){%>
	  <img src="/program/images/ico_img.gif" style="vertical-align:middle;" />
	<%}%> 